package com.koron.order.overhaul.service;

import com.koron.order.overhaul.bean.entity.OverhaulOrderItemBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderItemQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (OverhaulOrderItemBean)表服务接口
 *
 * @author twcao
 * @since 2021-09-29 09:49:27
 */
public interface OverhaulOrderItemService {

    OverhaulOrderItemBean queryById(SessionFactory factory, String id);

    int saveOrUpdate(SessionFactory factory, List<OverhaulOrderItemBean> beans);

    int deleteByOrderId(SessionFactory factory, String orderId);

    int hiddenByOrderId(SessionFactory factory, String orderId);

    List<OverhaulOrderItemBean> queryList(SessionFactory factory, OverhaulOrderItemQuery query);

}
